#if !defined(WEBBY_LOGLISTENER_HXX)
#define WEBBY_LOGLISTENER_HXX

#include <boost/shared_ptr.hpp>

#include <webby/logging.hxx>

#include <string>

namespace webby
{

	class LogListener
        {
        public:
		virtual ~LogListener() {}

                virtual void onLogMessage( Logging::LogLevel level, double currentTime, const std::string &logMessage, const std::string &function, unsigned int lineNumber ) = 0;
        };

        typedef boost::shared_ptr< LogListener > LogListenerPtr;

}

#endif
